package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Member;

public interface MemberDAO{
       
    public void save(Member transientInstance);
    
	public void delete(Member persistentInstance);
    
    public Member findById( java.lang.Integer id);    
    
    public List<Member> findByExample(Member instance);
    
    public List findByProperty(String propertyName, Object value);

	public List<Member> findByName(Object name);
	
	public List<Member> findByRole(Object role);
	
	public List<Member> findByTelephone(Object telephone);
	
	public List<Member> findByQq(Object qq);
	
	public List<Member> findByMsn(Object msn);
	
	public List<Member> findByEmail(Object email);
	
	public List<Member> findByCreatedate(Object createdate);	

	public List findAll();
	
    public Member merge(Member detachedInstance);


}